package com.wsm.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wsm.common.domain.CloseDO;

import java.util.List;
import java.util.Map;

/**
 * 开关表
 *
 * @author wangshimin
 * @email wangshiminhome@foxmail.com
 * @date 2020-02-08 12:27:30
 */
public interface CloseService extends IService<CloseDO> {

	CloseDO get(Long id);

	List<CloseDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);

	boolean save(CloseDO close);

	boolean update(CloseDO close);

	boolean remove(Long id, String models);

	int batchRemove(Long[] ids);

	boolean changeStatus(Long id, String model, String cmd);
}
